package com.example.demo.mapper;

import com.example.demo.pojo.Course;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseMapper {
    public void deleteCourseByCno(@Param("cno") int cno);
    public List<Course> getAllCourse(Integer page,Integer size);
    public List<Course> queryCourse(String cname);
    public Course getCourseStudent(@Param("cno")int cno);
}
